package com.kbs.pay.management.model;

import java.io.Serializable;
import java.util.Date;

/**
 * @Author: jianchen
 * @Date: 2019/6/21 15:23
 * @Description: 支付统计
 */
public class PayCount implements Serializable {
    /**
     * 支付统计id
     */
    private Long payCountId;

    /**
     * 商户id
     */
    private Long merchantId;

    /**
     * 医院id
     */
    private Long hospitalId;

    /**
     * 支付类型: 1 微信 2支付宝 3现金 4银联
     */
    private Integer payType;

    /**
     * 订单数量
     */
    private Integer orderSum;

    /**
     * 优惠金额(单位:分)
     */
    private Integer discountsAmount;

    /**
     * 统计类型: 1 收入 2 退款
     */
    private Integer countType;

    /**
     * 统计时间
     */
    private Date countTime;

    /**
     * 订单金额(单位:分)
     */
    private Integer orderAmount;

    /**
     * 创建时间
     */
    private Date createTime;

    /**
     * 创建人
     */
    private Long createBy;

    /**
     *
     */
    private Long updateBy;

    /**
     *
     */
    private Date updateTime;

    /**
     *
     */
    private Boolean isDelete;

    private static final long serialVersionUID = 1L;

    public Long getPayCountId() {
        return payCountId;
    }

    public void setPayCountId(Long payCountId) {
        this.payCountId = payCountId;
    }

    public Long getMerchantId() {
        return merchantId;
    }

    public void setMerchantId(Long merchantId) {
        this.merchantId = merchantId;
    }

    public Long getHospitalId() {
        return hospitalId;
    }

    public void setHospitalId(Long hospitalId) {
        this.hospitalId = hospitalId;
    }

    public Integer getPayType() {
        return payType;
    }

    public void setPayType(Integer payType) {
        this.payType = payType;
    }

    public Integer getOrderSum() {
        return orderSum;
    }

    public void setOrderSum(Integer orderSum) {
        this.orderSum = orderSum;
    }

    public Integer getDiscountsAmount() {
        return discountsAmount;
    }

    public void setDiscountsAmount(Integer discountsAmount) {
        this.discountsAmount = discountsAmount;
    }

    public Integer getCountType() {
        return countType;
    }

    public void setCountType(Integer countType) {
        this.countType = countType;
    }

    public Date getCountTime() {
        return countTime;
    }

    public void setCountTime(Date countTime) {
        this.countTime = countTime;
    }

    public Integer getOrderAmount() {
        return orderAmount;
    }

    public void setOrderAmount(Integer orderAmount) {
        this.orderAmount = orderAmount;
    }

    public Date getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

    public Long getCreateBy() {
        return createBy;
    }

    public void setCreateBy(Long createBy) {
        this.createBy = createBy;
    }

    public Long getUpdateBy() {
        return updateBy;
    }

    public void setUpdateBy(Long updateBy) {
        this.updateBy = updateBy;
    }

    public Date getUpdateTime() {
        return updateTime;
    }

    public void setUpdateTime(Date updateTime) {
        this.updateTime = updateTime;
    }

    public Boolean getIsDelete() {
        return isDelete;
    }

    public void setIsDelete(Boolean isDelete) {
        this.isDelete = isDelete;
    }

    @Override
    public String toString() {
        return "PayCount{" +
                "payCountId=" + payCountId +
                ", merchantId=" + merchantId +
                ", hospitalId=" + hospitalId +
                ", payType=" + payType +
                ", orderSum=" + orderSum +
                ", discountsAmount=" + discountsAmount +
                ", countType=" + countType +
                ", countTime=" + countTime +
                ", orderAmount=" + orderAmount +
                ", createTime=" + createTime +
                ", createBy=" + createBy +
                ", updateBy=" + updateBy +
                ", updateTime=" + updateTime +
                ", isDelete=" + isDelete +
                '}';
    }
}